package com.article.model;

import com.article.common.BaseEntity;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "article")
public class Article extends BaseEntity {

    private Integer id;

    /**
     * 内容
     */
    private String detail;

    /**
     * 标题
     */
    private String title;

    /**
     * 浏览人数
     */
    private String img;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
